﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ConsoleApplication1
{
    public class Accao
    {
        decimal precoAtual;
        public decimal PrecoAtual
        {
            get
            {
                return precoAtual;
            }
            set
            {
                if (value < 0)
                    precoAtual = 0;
                else
                    precoAtual = value;
            }
        }
    }
}
